import React from 'react'
import { routes } from '@/config/router';
// import dynamic from 'next/dynamic';
import MainLayout from '@/components/layout';

export default function HomePage() {
  const homeRoute = routes.find(route => route.path === '/');
  
  if (!homeRoute) {
    return <div>404 - 首页未找到</div>;
  }



  return (
    <MainLayout>
      <div>1212</div>
    </MainLayout>
  );
}
